﻿
using OA.Model.MyAttribute;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Model.Form
{
    public class UpdatePasswordForm
    {
        [Display(Name = "原始密码")]
        [Tag(TagEnum.PassWord, "required", "原始密码", 3, 20)]
        public string OldPassword { get; set; }

        [Display(Name = "新密码")]
        [Tag(TagEnum.PassWord, "required", "新密码", 3, 20)]
        public string NewPassWord { get; set; }

        [Display(Name = "重复密码")]
        [Tag(TagEnum.PassWord, "compareValidator", "重复密码", 3, 20)]
        public string NewPassWord2 { get; set; }
    }
}
